home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / TSFAQN39.ZIP / FAQPROGS.TXT < prev    next >
Internet Message Format  |  1993-12-26  |  47KB

  1. From ts@uwasa.fi Sun Dec 26 00:00:00 1993
  2. Subject: FAQPROGS.TXT contents
  3.                                   Copyright (c) 1993 by Timo Salmi
  4.                                                All rights reserved
  5.  
  6. FAQPROGS.TXT Frequently (and not so frequently) asked questions
  7. relating to programs with answers. Comments and corrections are
  8. solicited.
  9.  
  10. ..................................................................
  11. Prof. Timo Salmi      Co-moderator of comp.archives.msdos.announce
  12. Moderating at garbo.uwasa.fi anonymous FTP  archives  128.214.87.1
  13. Faculty of Accounting & Industrial Management; University of Vaasa
  14. Internet: ts@uwasa.fi   BBS +(358)-61-3170972; FIN-65101,  Finland
  15.  
  16. --------------------------------------------------------------------
  17. 1)  How do I capture text from the screen to a file?
  18. 2)  How do I redirect the output from the screen to the printer?
  19. 3)  How can I direct all output to a file instead of the printer?
  20. 4)  Where can I get VT102 emulation codes?
  21. 5)  Problems with Procomm or Telix VT102 emulation.
  22. 6)  Is there a program to convert Pascal to C?
  23. 7)  I need a bigger cursor for my laptop.
  24. 8)  Where to find a source code for detecting which CPU my PC has?
  25. 9)  Can anyone recommend me a good linear programming package?
  26. 10) Where can I find sources for Unix Zmodem?
  27. 11) Where can I find sources for Unix arc, lharc, zip, and zoo?
  28. 12) How to delete non-empty directories fast?
  29. 13) I can't run this file I got with a .zip (.arc etc) extension.
  30. 14) What is the best archiver?
  31. 15) What is the best text editor?
  32. 16) Am I safe against viruses if download files from FTP sites?
  33. 17) Where can I find a program to expand the keyboard buffer?
  34. 18) How to make z-modem transfer between a Unix mainframe and my PC?
  35. 19) Where can I find Unix-like utilities for my MsDos PC?
  36. 20) How can I hide files and directories?
  37. 21) Which is better, Procomm Plus or Telix?
  38. 22) How can I restore the original screen when a program muddles it?
  39. 23) Where can I find compress for MsDos to handle .Z files?
  40. 24) I found a bug in a shareware program. How should I report it?
  41. --------------------------------------------------------------------
  42.  
  43. From ts@uwasa.fi Sun Dec 26 00:00:01 1993
  44. Subject: Capturing text to file from screen
  45.  
  46. 1. *****
  47.  Q: I want to capture to a file everything that comes on the
  48. screen. How do I do this?
  49.  
  50.  A1: There are two sets of programs that are useful here. The first
  51. set consists of programs which automatically capture to a file
  52. everything that comes on the screen. Examples of these "scrolling"
  53. programs are /pc/printer/concpy11.zip (or whatever version is the
  54. latest) and /pc/printer/script11.zip.
  55.    The second set are the "static" programs which capture a snapshot
  56. of the screen, or a portion of the screen at the invocation of a hot
  57. key. Get /pc/screen/snippr26.zip for such a utility. Another is
  58. /pc/printer/lamneth.zip which redirects the results of pressing the
  59. PrintScreen key to a file instead of the printer. A third one is
  60. /pc/printer/scap250.zip. Also worth considering is
  61. /pc/screen/vprint51.zip. Please note that these programs only work
  62. for the text mode. They won't capture graphics output. (The same
  63. also goes for the next Q&As).
  64.  
  65.      +------------------------------------------+
  66.      ! To get these and other programs given as !
  67.      !   /dir/subdir/name                       !
  68.      ! see the instructions in PD2ANS.TXT       !
  69.      +------------------------------------------+
  70.  
  71.  A2: How to find MsDos files on garbo.uwasa.fi: If you are looking
  72. for a particular program at garbo.uwasa.fi you should start by
  73. getting the following files:
  74.    /pc/INDEX.ZIP
  75.    /pc/INDEXTS.ZIP
  76. For seeing what is new in the /pc/ts directory, get
  77.    /pc/ts/0news-ts
  78. For seeing selected news and reviews of files in all MsDos (the
  79. /pc) directories, get the following file full of information
  80.    /pc/pd2/news-pd2
  81. For a monthly raw list of all the new MsDos files, get
  82.    /pc/_files.in
  83. --------------------------------------------------------------------
  84.  
  85. From ts@uwasa.fi Sun Dec 26 00:00:02 1993
  86. Subject: Printing all output from screen
  87.  
  88. 2. *****
  89.  Q: I want to get printed everything that comes to the screen. How
  90. can I achieve this?
  91.  
  92.  A: Simple. First capture the output to a file (see the previous
  93. Q&A) and then print the file.
  94.    If you need to capture text that has already scrolled off the
  95. screen use garbo.uwasa.fi:/pc/screen/buffit30.zip resident screen
  96. scrollback utility, which is a handy TSR (Terminate and Stay
  97. Resident) program anyway. Another, even better screen scrollback
  98. buffer TSR is /pc/screen/scrlit18.zip (or whatever is the current
  99. version number).
  100. --------------------------------------------------------------------
  101.  
  102. From ts@uwasa.fi Sun Dec 26 00:00:03 1993
  103. Subject: Printer redirection to a file
  104.  
  105. 3. *****
  106.  Q: How can I direct all output to a file instead of the printer?
  107.  
  108.  A: There is a good utility called /pc/printer/lptx.zip exactly for
  109. this purpose. It comes in several versions. There is another utility
  110. /pc/printer/prn2file.zip which I haven't tested myself, but should
  111. be good judging from the comments of the others. A third such
  112. utility is /pc/printer/prndi802.zip, but even if it is useful, it
  113. not very easy to figure out the first time. In general, take a look
  114. at the /pc/printer directory at garbo.uwasa.fi.
  115. --------------------------------------------------------------------
  116.  
  117. From ts@uwasa.fi Sun Dec 26 00:00:04 1993
  118. Subject: VT102 emulation codes
  119.  
  120. 4. *****
  121.  Q: I need information on VT100 (VT102) emulation codes.
  122.  
  123.  A: The following packages may have some relevant information. Take
  124. a look at MsKermit documentation /pc/termprog/mskdo232.zip, MsKermit
  125. advice and utilities in /pc/ts/tskerm24.zip, and Procomm advice in
  126. /pc/ts/tspfon29.zip.
  127. --------------------------------------------------------------------
  128.  
  129. From ts@uwasa.fi Sun Dec 26 00:00:05 1993
  130. Subject: Procomm or Telix VT102 problems
  131.  
  132. 5. *****
  133.  Q: I'm experiencing problems in my Procomm (or Telix) VT102
  134. terminal emulation. What should I do?
  135.  
  136.  A: If terminal emulation is your main concern, you should consider
  137. using MsKermit. Procomm and Telix very good programs which are at
  138. their best in connections to BBSes (bulletin boards). MsKermit is at
  139. its best in main frame connections and terminal emulation. (MsKermit
  140. is better at BBS connections as generally thought, since contrary to
  141. common belief it can utilize a dialing directory). Get the packages
  142. /pc/ts/tspfon29.zip and /pc/ts/tskerm24.zip to give more information
  143. and utilities for Procomm and MsKermit. The packages are available
  144. by anonymous ftp or mail server from garbo.uwasa.fi.
  145. --------------------------------------------------------------------
  146.  
  147. From ts@uwasa.fi Sun Dec 26 00:00:06 1993
  148. Subject: Pascal to C converters
  149.  
  150. 6. *****
  151.  Q: I'm looking for a program to convert Turbo Pascal code
  152. automatically to C.  (Mother of all FAQs? :-)
  153.  
  154.  A: To find utilities for such a specific purpose the very first
  155. thing to do is to look through file lists. At garbo.uwasa.fi there
  156. are useful file lists such as /pc/INDEX.ZIP, INDEXTS.ZIP,
  157. /pc/filelist/simlist.zip, and /pc/filelist/cbbs_prg.zip. Here is
  158. some old information as an example:
  159.  From simibm (SimTel file list) ---------------------------------
  160.  T2C.ARC        Microsoft's Turbo Pascal to C translator
  161.  TPTC17.ARC     Turbo Pascal to C translator, 1of4
  162.  TPTC17SC.ARC   Turbo Pascal to C - src for translator, 2of4
  163.  TPTC17TC.ARC   Turbo Pascal to C - test cases, 3of4
  164.  TPTCINFO.ARC   Info on Turbo Pascal to C translator, 4of4
  165.  From files-mm (Micro Maniacs Opus file list) ---------------------
  166.  PTOC.ZIP       79789           Pascal To C Conversion Program.
  167.  TPC.ZIP        26262           Converts TurboPascal to C.
  168.  GLOCKEN.ZIP   112240 01/15/88  Glockenspiel Turbo Pascal to 'C'
  169.  TPTOQC.ZIP    112062 12/01/87  Translate Turbo Pascal to Quick 'C'
  170.  TPAS2MSC.ZIP  111884 12/10/89  MS Convert Turbo Pascal to MS C
  171.  I've seen some positive comments on a P2C, and our system manager
  172. has installed it on our mainframe with very good results, but I do
  173. not know where it is publicly available.
  174.    I have seen an ad on a Pascal to C translator in the Shareware
  175. Magazine, Vol V, No. 6, Nov.-Duc. 1990, p. 52, involving PC-Sig disk
  176. 1321.
  177.  From: raymond@math.berkeley.edu (Raymond Chen)
  178.  Two different Pascal-to-C converters are available from a
  179. comp.sources.unix archive near you.
  180.  volume10: ptoc/part[01-02]     Pascal to C translator
  181.  volume13: pas2c.pch            Patches for Pascal-to-C translator
  182.  volume21: p2c/part[01-32]      Pascal to C translator
  183.      "     p2c/patch1           Fix to incomplete shar files for p2c,
  184.                                 Patch1
  185.  p2c is by Dave Gillespie.  It understands several Pascal dialects
  186. (HP, partial Turbo, etc) and is very flexible and configurable. It
  187. has been compiled and used on Sun-3's, so presumably it is fairly
  188. portable among 32-bit Unix machines.
  189.  The p2c package is also available for ftp from csvax.caltech.edu.
  190. Note, however, that although it can translate PC dialects of Pascal,
  191. the converter itself runs under UNIX. (Timo's note, it is also
  192. available on Garbo.)
  193.  If you have the /pc/ts/tsfaqn*.zip Frequently Asked Questions
  194. collection, also take a look at the old /pc/pd2/faquote.zip for sore
  195. information.
  196. --------------------------------------------------------------------
  197.  
  198. From ts@uwasa.fi Sun Dec 26 00:00:07 1993
  199. Subject: Looking for a big cursor for laptops
  200.  
  201. 7. *****
  202.  Q: I am literally looking for a way to see the cursor on my laptop.
  203. Is there a utility to make the cursor bigger?
  204.  
  205.  A: There are several (both TSR and non-TSR) programs around to make
  206. the cursor big. Among others, my /pc/ts/tsutld21.zip (or whatever
  207. version number is the most recent) utility collection contains the
  208. following programs for this.
  209.  ADJCURS.BAT     Batch shell for adjusting cursor
  210.  BIGCURS.EXE     Make the cursor better visible
  211.  BIGNCURS.EXE    NonResident temporary big cursor
  212. --------------------------------------------------------------------
  213.  
  214. From ts@uwasa.fi Sun Dec 26 00:00:08 1993
  215. Subject: Code to detect the CPU type
  216.  
  217. 8. *****
  218.  Q: Does anyone have a source code for detecting which CPU my PC
  219. has?
  220.  
  221.  A: See Tischer, Michael (1990), PC System Programming, An in-depth
  222. reference for the DOS programmer, Third printing, Abacus, Chapter
  223. 15. Another source is /pc/turbopas/ifp1s158.zip (or whatever version
  224. is current). It contains the InfoPlus source code. A third
  225. alternative is /pc/turbopas/cpuid_tp.zip. If you are a Turbo Pascal
  226. programmer, see /pc/ts/tspa*.zip for a tpu with no source code
  227. available. (In general, if you are interested in Turbo Pascal
  228. programming, see /pc/ts/tsfaqp*.zip).
  229. --------------------------------------------------------------------
  230.  
  231. From ts@uwasa.fi Sun Dec 26 00:00:09 1993
  232. Subject: Linear Programming MsDos Packages
  233.  
  234. 9. *****
  235.  Q: Can anyone recommend me a good linear programming package?
  236.  
  237.  A: See the references in the documentation of /pc/ts/tslin34.zip
  238. (or whatever version number is the latest) linear programming and
  239. linear goal programming package available by anonymous ftp or mail
  240. server from garbo.uwasa.fi. There are a couple of references to
  241. useful papers that compare different commercial LP programs for the
  242. PC. Also see
  243.  garbo.uwasa.fi:/pc/math/faqlp.zip
  244.  Frequently Asked Questions about linear programming
  245. If you are looking for a linear programming source code then take
  246. a look at
  247.  303775 May 1 1991 garbo.uwasa.fi:/pc/turbopas/nrpas13.zip
  248.  nrpas13.zip Numerical Recipes Pascal shareware version.
  249. See the sci.op-research UseNet newsgroup for an interesting, related
  250. forum.
  251. --------------------------------------------------------------------
  252.  
  253. From ts@uwasa.fi Sun Dec 26 00:00:10 1993
  254. Subject: Need Unix Zmodem
  255.  
  256. 10. *****
  257.  Q: Where can I find sources for Unix Zmodem?
  258.  
  259.  A: You can find a Unix Zmodem package in the /unix/zmodem directory
  260. at the anonymous ftp site garbo.uwasa.fi, Vaasa, Finland. The
  261. instructions for processing this Unix package are in
  262. /unix/ts/0news-u.
  263. --------------------------------------------------------------------
  264.  
  265. From ts@uwasa.fi Sun Dec 26 00:00:11 1993
  266. Subject: Unix counterparts for PC archivers
  267.  
  268. 11. *****
  269.  Q: Where can I find Unix sources for .arj, .arc, .lzh, .zoo, and
  270. .zip file compression.
  271.  
  272.  A: You can find Unix arc, UNarj, lharc, LHa, zoo, UNzip, hpack,
  273. squeeze, and zip packages in the /unix/arcers directory at the
  274. anonymous ftp site garbo.uwasa.fi. The instructions for processing
  275. these Unix packages are in /unix/ts/0news-u. Many users have also
  276. inquired about the source code for making .zip files. A project
  277. group Mark Adler, Rich Wales, and Jean-loup Gailly have programmed
  278. the long awaited Unix zip. It was released about at the beginning of
  279. October of 1991. It was then/unix/goldies/zip10ex.tar.Z, currently
  280. /unix/arcers/unz50p1.tar.Z.
  281.    For a pointer to the Info-ZIP project see /pc/pd2/author*.zip.
  282. --------------------------------------------------------------------
  283.  
  284. From ts@uwasa.fi Sun Dec 26 00:00:12 1993
  285. Subject: Deleting entire subdirectories
  286.  
  287. 12. *****
  288.  Q: I need to delete a directory which has files (and perhaps
  289. subdirectories) in it. How can I delete without having to go trough
  290. them individually.
  291.  
  292.  A: It can be done, but note that if you are not VERY CAREFUL you
  293. may inadvertently do much harm to your files by deleting more than
  294. you intended!
  295.    There is a utility by Norm Patriquin /pc/dirutil/pdel44.zip,
  296. which can be used to delete non-empty directories. Another utility,
  297. which is handy for many other purposes as well, is sweep.com. You
  298. can find it for example in the /pc/miscutil/cpcug.zip collection at
  299. our anonymous ftp site garbo.uwasa.fi.
  300.    Other utilities which you can use for this purpose include
  301. TDEL.EXE from /pc/ts/tsutle22.zip, and /pc/dirutil/deldir11.zip. I
  302. use TDEL.EXE myself a lot.
  303.    One frequent solution is using the Unix like rm command for
  304. MsDos. Different renditions of rm can are common in the collections
  305. in our /pc/unix directory.
  306.    If you blunder, and delete more files that you intended, then
  307. undelete utilities like the one in PcTools or MsDos 5.0 (and later)
  308. can save you.  (The usual disclaimer applies).
  309. --------------------------------------------------------------------
  310.  
  311. From ts@uwasa.fi Sun Dec 26 00:00:13 1993
  312. Subject: Arced, Zipped etc files
  313.  
  314. 13. *****
  315.  Q: What is this file with this .zip (.arc, .arj, .lzh, .pak, .sdn,
  316. .zoo etc) extension? What am I supposed to do to it?
  317.  Q2: I can't run this file I got with a .zip extension.
  318.  
  319.  A: This is a PC newcomers's question, but that is perfectly all
  320. right. One has to start from somewhere. These files with a .zip
  321. (.arc, .arj, .lzh, .pak. .zoo etc) extension are compressed
  322. collections of files, often called archives. You are not supposed to
  323. run a compressed entity. You are supposed to unpack it first to
  324. extract the files from within the package. For this you need the
  325. relevant (un)packing program. You can find them in the /pc/arcers
  326. (some in /pc/goldies, some in /pc/unix) directory at the anonymous
  327. ftp site garbo.uwasa.fi, SimTel, their mirrors, or at practically
  328. any fine bulletin board. (After you have gotten them, they are very
  329. easy to process, since most often these utilities are
  330. self-extracting). At the time of writing this we have eg
  331.   arc602.exe     .arc  SEA's .arc packing/unpacking system.
  332.   arce40g.zip    .arc  Buerg's extraction, also for SEA's new .arc
  333.   arj241.exe     .arj  Robert Jung's .arj archiver
  334.   gzip124.zip    .(g)z GNU gzip compress, don't confuse with (pk)zip
  335.   ha098.zip      .ha   Harri Hirvola's slow but efficient archiver
  336.   hpack78.zip    .hpk  HPACK Multi-System Archiver
  337.   lha255b.exe    .lzh  LHa for .lzh compression
  338.   pak251.exe     .pak  NoGate's for pak, arc, sdn, zip, files
  339.   pk361.exe      .arc  This packed and unpacked .arc files fast
  340.   pkz204g.exe    .zip  PKWare's PKZIP/PKUNZIP 2.04G
  341.   sqz1083e.exe   .sqz  SQUEEZE from Sweden.
  342.   unz50p1.exe    .zip  Info-ZIP group's 2.04G compatible extractor
  343.   zoo210.exe     .zoo  Zoo packing facility from Rahul Dhesi
  344. Always use the latest version. For example we have been getting many
  345. false alarms of allegedly corrupt .zip packages just because users
  346. have been applying out of date PKUNZIP versions.
  347.    Once you are well familiar with unpacking and packing, there is
  348. an excellent shell for running these utilities. It is called SHEZ
  349. and is in version /pc/arcutil/shez95.zip at the time I revised this
  350. item.
  351.    Another advanced feature once you get the hang of this, is that
  352. (most of) these are available in the Unix environment, as well. See
  353. the /unix/arcers directory at garbo.uwasa.fi archives for the Unix
  354. versions. Eg you can find zoo210.tar.Z in there, etc. See
  355. /pc/unix/0news-u for more on the Unix versions.
  356. --------------------------------------------------------------------
  357.  
  358. From ts@uwasa.fi Sun Dec 26 00:00:14 1993
  359. Subject: Archiver comparisons
  360.  
  361. 14. *****
  362.  Q: What is the best archiver?
  363.  
  364.  A: Some netters have made accurate measurements of the packing /
  365. unpacking times, and the size of the archives produced.  I won't try
  366. to repeat those interesting experiments, but express some subjective
  367. views instead. If you want to know more, the UseNet newsgroup
  368. comp.compression is the one to read.
  369.    If you are a heavy user, there is no choice. You'll need all the
  370. archivers. (A good shell like shez will make life much easier for
  371. you then).
  372.    Let's start from Zoo. Personally, I found the old Zoo 2.01
  373. prohibitively difficult to use beyond simple unpacking. Its
  374. compression ratio was week. But it has been available for Unix and
  375. MsDos for a long time, from the same author for both the platforms,
  376. and this has made it the obvious choice for example for the
  377. distribution binary postings in comp.binaries.ibm.pc despite what
  378. used to be a poor ratio.
  379.    The introduction of Zoo version 2.10 changed the situation quite
  380. a lot for the better. Its compression is at good par with the other
  381. methods, but it is still slow, and the commands are complicated, but
  382. there is a good self-documentation to alleviate that. Furthermore,
  383. there are problems with the file datestamping on Unix. I have
  384. discussed potential further Zoo updates with the author Rahul Dhesi,
  385. and he confirmed long ago that he was working on these aspects. One
  386. has to be realistic though, since the last time around the updating
  387. took over one year. Rahul is a busy man. It seems to be the same
  388. with this promised update, also. Nothing whatsoever since.
  389.    PKWare's PKZIP has become fairly dominating in bulletin boards
  390. and many FTP sites. For example it is the only method we currently
  391. accept in the uploads to our Garbo MsDos FTP archives. PKZIP makes
  392. reasonably tight packages, but is slow in making them on old PCs.
  393. With a 386 or 486 this does not matter any more. Personally, as an
  394. MsDos FTP site moderator, I like the possibility of keeping the date
  395. stamp of .zip archives in line with the date stamp of the latest
  396. file within the package. With zipped archives this is very easy. The
  397. attractiveness of zipping in archive maintenance in much increased
  398. by Zip being available also for the Unix environment courtesy of the
  399. Info-ZIP programming group. The support for the Unix zip is
  400. unrivalled by the other archivers.
  401.    PKWare almost blew it with its version 2 release. They advertized
  402. version 2 on PC magazines for almost a year without it being
  403. available, making it one of the best know cases of shareware
  404. vaporware. On top of that the first 2 version, called 2.04C turned
  405. out with far too many prohibitive bugs to be acceptable as a
  406. compression method. For example Garbo archives refused to adopt
  407. 2.04C. PKWare then produced updates in rapid succession, naming them
  408. versions 2.04E and 2.04G. The current 2.04G release has done very
  409. well indeed, even if its advanced features occasionally cause some
  410. consternation.
  411.    The Japanese lharc is tight (comparable to, and often better than
  412. PKZIP 1.10 was) and it is available for Unix, as well. But both
  413. MsDos and Unix lharc totally lack user support (but who needs it
  414. anyway for these facilities). The author is not even reachable. You
  415. may experience difficulties with the path names when using lharc.
  416. Since versions beyond 2.0 LHarc has been called LHa, and it is even
  417. tighter than before. Lha can make self-extracting packages with very
  418. little overhead, and is dominant among the compression archivers in
  419. that respect.
  420.    What about the old ARC method? PKWare's pkpak (originally called
  421. pkarc) is fast in making archives, but its compression is not very
  422. strong. But I still like it for some purposes because of its concise
  423. one-line format of file comments, which I prefer to the multi-line
  424. format used by pkzip and zoo.
  425.    SEA's arc is available both for MsDos and Unix (from different
  426. authors). But it has lost its former popularity and goodwill
  427. (unfairly or not) among many users. First with the lawsuit with
  428. PKWare (the author of pkarc aka pkpak, and pkzip), and subsequently
  429. with its product development policy, which has left very much to be
  430. desired, and caused some frustrated postings in the UseNet news. It
  431. seems that SEA missed out on its golden opportunity to be the
  432. dominant archiver. Now it is but vanishing from the scene. I have
  433. seen postings referring to a new incompatible commercial version ARC
  434. 7.0, which is not to be distributed through bulletin boards and ftp
  435. sites at all. I really fail to understand SEA's self-defeating
  436. policies. SEAs new .arc is cannot be handled with the old versions,
  437. but I have been told that /pc/arcers/arce*.zip can be used for
  438. extraction.
  439.    NoGate's Pak (as far as I know) is not available for Unix, only
  440. for MsDos. But it can handle .arc, .pak, .sdn, and .zip formats, and
  441. is the only one having this "multiple" property.
  442.    Last, but certainly not least lests consider ARJ. ARJ, in version
  443. 2.41 at the time of last updating this item, is turning out to be
  444. the most serious alternative to PKZIP. ARJ's ability to span an
  445. archive on multiple disks is considered one of its strong points.
  446. The author is active on the UseNet news, and ARJ has thus good
  447. support. The lack of a proper Unix version is however a major
  448. weakness. Some users also complain about the switches beeing quite
  449. complicated to master. You can, of course, alleviate that problem by
  450. using a shell like SHEZ.
  451.    There are also some other, tight methods like hpack, ha and sqz,
  452. but mostly they have only a marginal following.
  453. --------------------------------------------------------------------
  454.  
  455. From ts@uwasa.fi Sun Dec 26 00:00:15 1993
  456. Subject: The best ascii text editor
  457.  
  458. 15. *****
  459.  Q: What is the best text editor?
  460.  
  461.  A: These are difficult questions, especially since almost every
  462. user is more or less biased in favor of the program he/she is best
  463. familiar with. In the case of text editors these personal views
  464. easily flare up into what is appropriately termed as "editor wars".
  465. But also objectively speaking there is a good rationale for
  466. defending the editor one is used to. Almost each editor involves a
  467. great number of predefined (or customizable) key combinations, which
  468. at first are difficult to learn, but very natural after one has
  469. gotten used to them after extended exposure. This means, that
  470. changing over to another editor (even a considerably better one)
  471. will involve a high cost of learning. This explains the ardent
  472. defensive positions users tend to take, if they feel that their
  473. hard-learned habits come under threat when someone else puts down
  474. their favorite editor (let alone insists on changing over to their
  475. own editor choice). This is how most editor wars break out.
  476.    Once these cautionary words being said, let me tell you about my
  477. own text editor choices. I would prefer to use only a single editor
  478. to make life easier for me. This is has not been possible since I
  479. have needed editors for several operating systems. These systems
  480. have been MsDos, Unix, VAX/VMS, and at an earlier stage Sinclair QL
  481. QDOS.
  482.    Since I write quite a lot of programs in Turbo Pascal, this has
  483. dictated my choice of the MsDos text editor to editors with WordStar
  484. like commands. At one early stage I even used Turbo Pascal 3.02A as
  485. my text editor besides as my compiler. Hence the obvious choice for
  486. me has been /pc/editor/qedit215.zip SemWare's QEdit Advanced 2.15
  487. shareware editor. It has very similar commands to Turbo Pascal's
  488. integrated editor. There are just two features missing in QEdit
  489. which I would like to have. One is the lack of markers to return
  490. easily to a spot. The other is that I would dearly like to have the
  491. possibility of right-adjusted text. These aside, Qedit has many nice
  492. features including configurability, small size (an important
  493. consideration for laptops), and useful macro programming (not very
  494. easy, though). I also like and need its potential to copy and move
  495. columns besides just rows. I won't make the error of saying here
  496. that there aren't better text editors, but I can recommend this
  497. editor as one good choice. Incidentally, I've written a few macros
  498. for QEdit myself. They are available as /pc/ts/tsqed17.zip from
  499. garbo.uwasa.fi anonymous ftp archives.
  500.    SemWare is making a new editor based on QEdit. It will probably
  501. be called The SemWare Editor. I have its prerelease version, but I
  502. do not currently know whether it will be shareware or fully
  503. commercial. It has an advanced macro language setting right the few
  504. inadequacies of QEdit. TSE is the editor I use the most (including
  505. writing this).
  506.    In the VAX/VMS environment I earlier used its EDT editor, which
  507. is well suited to MsKermit terminal emulation with the PC keypad
  508. layout. But when we acquired a Unix Sun 4 to our computer centre as
  509. our main computer, I simply had no other viable choice than to learn
  510. to use MicroEmacs. Along with many other former EDT users I still
  511. intensely hate MicroEmacs (even if I am now fully conversant with
  512. it). But as MicroEmacs is available for VAX/VMS I have dumped the
  513. EDT editor in order to get by with fewer text editors. I even
  514. occasionally use MicroEmacs on my PC for special tasks (eg very long
  515. lines) which QEdit cannot handle. The point I want to make here is
  516. that the portability of MicroEmacs has been important enough for me
  517. to overcome my aversion of its user interface, even if I still feel
  518. it is overly complicated to use.
  519.    And what I have written here is typical of editor discussions.
  520. Even if I've tried to be analytical, in retrospect this text much
  521. more emotional than my average text.
  522. --------------------------------------------------------------------
  523.  
  524. From ts@uwasa.fi Sun Dec 26 00:00:16 1993
  525. Subject: Are FTP sites safe from viruses
  526.  
  527. 16. *****
  528.  Q: Am I safe against viruses if download files from FTP sites?
  529.  
  530.  A: I'll give some information on this from an FTP moderator's point
  531. of view. The official stand is the following directly from one of
  532. our public documents:
  533.    No liability is accepted for the consequences of using,
  534.    or  the  inability  to  use,  any  of  these  files. No
  535.    absolute guarantees are given that these  programs  are
  536.    clean   from   nasties,  although  none  have  been  in
  537.    evidence. Please duly observe shareware rules  wherever
  538.    indicated.
  539. But remember that there are no absolute guarantees _whatever_ your
  540. sources are. There have even been cases of contaminated commercial
  541. products. So the safety factor will never be a 100 per cent whether
  542. you keep on downloading from ftp sites or not. At worst you can even
  543. catch a virus if you buy a new machine (this has been known to
  544. happen). On the other hand, the scare should not be exaggerated.
  545.    It is certainly a good idea to employ two or three good virus
  546. testers / protectors such as McAfee's /pc/virus/scanv109.zip and
  547. /pc/virus/fp-210c.zip by Fridrik Skulason (or whatever are the
  548. current version numbers). There are others too in our /pc/virus
  549. directory. I have one small additional trick up in my sleeve. Put my
  550. dtetimal.exe in your autoexec.bat. If dtetimal gets contaminated, it
  551. will loudly inform you of the fact. Dtetimal is part of my
  552. /pc/ts/tsutil39.zip (or whatever version number is current) package
  553. at garbo.uwasa.fi archives. Also use /pc/sysutil/chksum.zip to
  554. always check at least your io.sys, msdos.sys, and command.com at
  555. boot time. You then have a better chance of being alerted if you use
  556. these measures.
  557.    There is a good batch scanz.bat in /pc/ts/tsbat43.zip (or
  558. whatever version number is the current) to automate the virus
  559. checking of zipped (.zip) archives.
  560. --------------------------------------------------------------------
  561.  
  562. From ts@uwasa.fi Sun Dec 26 00:00:17 1993
  563. Subject: Expanding the keyboard buffer
  564.  
  565. 17. *****
  566.  Q: Where can I find a program to expand the keyboard buffer?
  567.  
  568.  A: To find utilities for this and other specific purposes the very
  569. first thing to do is to look through file lists. At garbo.uwasa.fi
  570. there are several useful file lists such as /pc/INDEX.ZIP,
  571. /pc/INDEXTS.ZIP, /pc/filelist/simlist.zip, and
  572. /pc/filelist/cbbs_dos.zip. Here is some information on
  573. garbo.uwasa.fi files.
  574.  /pc/keyboard/256.zip      256 key typeahead buffer
  575.  /pc/keyboard/buf128.arc   Keyboard buffer of 128 characters
  576.  /pc/keyboard/buf160_5.zip Expand the keyboard buffer to 160 chars
  577.  /pc/keyboard/fastbf26.zip Keyboard enhancer
  578.  /pc/keyboard/kbuf_ma.zip  Increases keyboard buffer
  579.  /pc/keyboard/keybbuff.zip Type-ahead keyboard buffer 16-512 bytes
  580.  /pc/keyboard/keybuf10.zip Resizable keybord buffer
  581.  /pc/keyboard/skbdinst.arc SUPERKBD v2.41; (repeat rate, buffer,...
  582.  /pc/keyboard/typeahd.zip  A 256 bytes typeahead buffer
  583. --------------------------------------------------------------------
  584.  
  585. From ts@uwasa.fi Sun Dec 26 00:00:18 1993
  586. Subject: Problems in Zmodem file transfers
  587.  
  588. 18. *****
  589.  Q: How to make Zmodem transfer between a Unix mainframe and my PC?
  590.  
  591.  A: You naturally need the Zmodem programs both for your PC and your
  592. Unix host. If you don't have them, they can be found in the
  593. /pc/termutil and /unix/zmodem directories at garbo.uwasa.fi
  594. archives. The /unix/ts/0dir-u file explains how to unpack the Unix
  595. facilities. Unpacking the PC facilities is standard knowledge, so no
  596. more about that.
  597.    To the the transfers going at the PC end of things you'll find
  598. useful the information that is contained in
  599. /pc/termutil/zdoc0814.zip, /pc/ts/tskerm24.zip (zset.cmd in
  600. particular), and also /pc/ts/tspfon29.zip (pcpqa.txt in there).
  601. These latter two packages concern primarily MsKermit and Procomm,
  602. but the Zmodem ideas in them are general.
  603.    At the Unix end of things you invoke a binary transfer using
  604.      sz -bey YourFile
  605.      rz -bey
  606.  and an ascii transfer by using
  607.      sz -aey YourFile
  608.      rz -aey
  609. Note that I have experimented with this only on a BSD Unix Sun 4.
  610. For the more recent versions try leaving -e switch out if you have
  611. problems. It is very difficult to give advice that is generally
  612. applicable because there are so many alternatives. One has to rely
  613. heavily on experimentation on each different configuration. Prepare
  614. a systematical test pattern to go through the all the potential
  615. parities, 7/8 bits, and server parameters (if you are running
  616. through a server). Such a structured approach has most often (but
  617. not always) solved these problems.
  618. --------------------------------------------------------------------
  619.  
  620. From ts@uwasa.fi Sun Dec 26 00:00:19 1993
  621. Subject: Unix-like utilities for MsDos
  622.  
  623. 19. *****
  624.  Q: Where can I find Unix-like utilities for my MsDos PC?
  625.  
  626.  A: There are often questions asking for Unix-like utilities for
  627. MsDos, perhaps since many users have a Unix background and would
  628. like to use familiar commands.  And some of these commands are
  629. useful for MSDos even if one hasn't used Unix. In fact they can
  630. serve as a gentle introduction to Unix. We have for example the
  631. following packages at garbo.uwasa.fi archives in directory /pc/unix:
  632.      danix102.zip
  633.      dantools.zip
  634.      picnix3a.zip
  635.      picnix3b.zip
  636.      picnix3up.zip
  637.    Furthermore there is a large uxutl162.zip in the /pc/unix
  638. directory. The danix102.zip (or whatever is the latest version
  639. number) collection by Dan Schikore is yet another, originally dated
  640. 12-Nov-90.  It is a nice set and includes for example man, head, and
  641. tail, which have been sought by many users.  The well-known picnix
  642. utilities are by Peter Heitman, and date back to 1988.  Then there
  643. is the Dosnix dosnx22a.zip from G. Vrooman. The oldest collection we
  644. have is the also useful dantools.zip by Daniel Norton dating back to
  645. 1987. Take a look at /pc/INDEX.ZIP for the full list.
  646.    Also note that the file contents of the /pc/unix packages at
  647. Garbo are available as /pc/unix/0unix.zip. So if you are looking for
  648. a single MsDos counterpart for a Unix utility, start by taking a
  649. look at that list.
  650. --------------------------------------------------------------------
  651.  
  652. From ts@uwasa.fi Sun Dec 26 00:00:20 1993
  653. Subject: Hiding files and directories
  654.  
  655. 20. *****
  656.  Q: How can I hide files and directories?
  657.  
  658.  A: Each MsDos file has a set of attributes: read-only, archive,
  659. system, and hidden. You can hide both files and directories by
  660. turning on their hidden attribute. The usual MsDos attrib command
  661. (before MsDos 5.0) can only change the read-only and archive
  662. attributes, so you'll need a program that can change all the
  663. attributes. One such facility is attr.com that is contained in the
  664. /pc/miscutil/cpcug.zip collection available by anonymous ftp or mail
  665. server from garbo.uwasa.fi archives.
  666.    Some users have suggested naming a directory as ascii 255, but
  667. this is non-solution, since the directory will show as blank by the
  668. usual dir command.
  669.    A file, or a directory that has the hidden attribute set, does
  670. not show in a directory listing by (the pre-5.0) MsDos dir command.
  671. Notice, however, that there are many utilities which will show also
  672. the hidden files. This means that these methods are good for
  673. elementary hiding only.
  674.   For more advanced protection you need different tools. One
  675. possibility is encrypting files. There are many encrypting
  676. facilities around including my crypter.exe in the
  677. garbo.uwasa.fi:/pc/ts/tsfcom24.zip file utilities collection.
  678. --------------------------------------------------------------------
  679.  
  680. From ts@uwasa.fi Sun Dec 26 00:00:21 1993
  681. Subject: Comparison of telecomm progs
  682.  
  683. 21. *****
  684.  Q: Which is better, Procomm Plus or Telix?
  685.  
  686.  A: Procomm 1.1A vs Telix 3.12
  687.     --------------------------
  688.    Both are excellent telecommunications programs. I won't try to
  689. answer in any absolute terms, but tell some of my subjective
  690. observations, since I have used both quite a lot. I am first
  691. speaking of Procomm+ version 1.1A and Telix 3.12 (on Procomm Plus
  692. 2.0 later).
  693.    Procomm+ is a fully commercial program while Telix is shareware.
  694. (There is an earlier shareware Procomm [version 2.4.3]. Both the
  695. shareware programs are available from garbo.uwasa.fi archives
  696. /pc/termprog directory. The shareware Procomm is not in the same
  697. league with Procomm+ and Telix).
  698.    Procomm+ comes with a manual, and there is literature on Procomm+
  699. while Telix documents come as a file in the shareware distribution.
  700.    I have tried the user support of both, with slightly discouraging
  701. results. In the case of Procomm+ I asked about the possibility of a
  702. two-way translation table, but the response was a polite no without
  703. any useful suggestions. In the case of Telix, I returned a faulty
  704. shareware disk, and had no reaction at all. Didn't even get the disk
  705. back. (This happened with version 3.12 with the previous owner Exis
  706. Inc. Telix has since been sold to deltaComm Development, and I have
  707. no experience on contacting the latter.) On the other hand, both are
  708. such good products that I haven't really needed the support.
  709.    Procomm+ and Telix both have a useful command language. Procomm's
  710. is annoyingly sluggish since it is interpreter while Telix sports a
  711. C-like Salt compiler. Procomm's aspect command language is easier to
  712. use, while Telix's Salt command language is really powerful.
  713.    Procomm+ command files can be invoked from a menu. In Telix this
  714. very convenient option is missing.
  715.    Under difficult conditions with a slow machine plus a fast modem
  716. Telix behaves much better. I've even noted circumstances where Telix
  717. is the only working choice of the two, because Procomm+ cannot
  718. always cope with the load.
  719.    Admittedly, Telix has fewer file transfer protocols than
  720. Procomm+, BUT this is more than amply compensated by the fact that
  721. Telix has an inbuilt Zmodem protocol. Neither has a sliding Kermit.
  722.    The translation tables of both programs cause headaches to users
  723. needing some 8-bit characters as we Finns do. Procomm+ does not have
  724. an outgoing translation table at all. Telix does, but it gets
  725. tangled in ansi graphics when A with double dots is translated.
  726.    Personally, I prefer Procomm's concise call logging to Telix's
  727. fuller but incoherent call logging.
  728.    This is very subjective but of the two the "feel" of the user
  729. interface in Telix is more user friendly than that of Procomm+. In
  730. particular, Telix has an automatic starting of downloads.
  731.    Procomm+ has a superior host mode compared to Telix. Yes, I know
  732. that there are external host modes for Telix, such as host44.zip,
  733. but I've never managed to make it work even in a selftest. (The host
  734. that comes with the new Telix 3.21 version seems ok, though).
  735. Incidentally, the host mode of shareware Procomm is better left
  736. alone. They frequently crash the machine. Another thing is that
  737. Procomm+ host mode shell to dos option also does this.
  738.    If you use Procomm or Procomm+ you might be interested in more
  739. information given in garbo.uwasa.fi:/pc/ts/tspfon29.zip.
  740.    At the moment I have settled to Telix for calling to BBSes, to
  741. Procomm+ when I need the host mode (and MsKermit when I connect
  742. remotely to garbo.uwasa.fi, because MsKermit has clearly the best
  743. VT102 emulation of the three).
  744.    Epilogue: At the time I last revised this item. Telix had been
  745. sold to deltaComm development, and version 3.20 just been released.
  746. It is a minor improvement, but worth taking a look at. Be warned,
  747. however, that it employs nagware tactics by having registration
  748. reminders at both ends.
  749. ----------------
  750. Procomm Plus 2.0
  751. ----------------
  752.    At the time I wrote this, Procomm Plus version 2.0 had just been
  753. released. (Telix 3.15 arrived when I wrote this, but it's just a
  754. minor bug fix). Commercial Procomm 2.0 is mostly at par with
  755. shareware Telix 3.12. Much of Procomm 2.0's improvements seem to
  756. have directly been adapted from Telix, but there is a touch of
  757. TeleMate as well. The aspect language compiler is the foremost
  758. example of emulating Telix strengths. But the old Procomm+ .asp
  759. files are not compilable without changes! Procomm 2.0 now has an
  760. inbuilt Z-modem with autodownload. This is a feature that was sorely
  761. missing earlier. Procomm 2.0 has long kermit packets which is an
  762. improvement over Telix. The installation phase of Procomm 2.0 is
  763. impressive. Full points for that.
  764.    The really frustrating feature of Procomm 2.0 is the problems
  765. with non-US (at least the Finnish) keyboard, which renders much of
  766. it inoperable, if not useless. And there is still no outgoing
  767. translation table.
  768.    Over all, my first impressions on the Procomm Plus 2.0 update are
  769. far from enthusiastic. On the other hand what might make Procomm
  770. Plus 2.0 worth its while is its host mode. It seem more flexibility
  771. than before, and can be considered a mini-BBS. This is a feature
  772. that Telix practically lacks. But I have had problems with 2.0 file
  773. transfers over a direct connection, which I didn't have with 1.1A.
  774.    Interestingly, the outward appearance of Procomm Plus 2.0 has
  775. reverted back to the Procomm shareware days.
  776. --------
  777. TeleMate
  778. --------
  779.    There are other very good telecommunication and terminal
  780. emulation programs besides Procomm+, Telix, and MsKermit. One of
  781. them is TeleMate (/pc/termprog/tm412-?.zip, where ? = 1,2,3,4). It's
  782. speciality is that the file transfers can take place in the
  783. background, which, for example, allows you to use TeleMate's useful
  784. screen editor while the transfer is taking place. Another nice
  785. feature is TeleMate's quote function. On the other hand TeleMate's
  786. dialog box based user interface takes some getting used to, and in
  787. this respect I feel that Procomm+ and Telix have a clear advantage
  788. over TeleMate. Also TeleMate's online help screen is not very
  789. coherent, and there is some inconvenience in figuring out how to
  790. load the translation tables on a regular basis. Shareware is a nice
  791. concept. I was able to try TeleMate out for a period with a clear
  792. conscience before making my decision of not adopting.
  793.    We also have Boyan at garbo.uwasa.fi. I have just taken a very
  794. brief look at it, but I know that some users like it.
  795. --------------------------------------------------------------------
  796.  
  797. From ts@uwasa.fi Sun Dec 26 00:00:22 1993
  798. Subject: Restoring the screen
  799.  
  800. 22. *****
  801.  Q: How can I restore the original screen when a program muddles it?
  802.  
  803.  A: Many (screen oriented) programs do not restore the original
  804. screen after having been run. They either leave their own last
  805. layout on the screen, or, in many cases some kind of a shareware
  806. advertisement (nagware :-), or something else what you'd rather not
  807. remain on your screen after you exit the program. If you normally
  808. use a 25*80 text mode, and you are running a program named, say foo,
  809. which does not restore the screen, make the following batch (I have
  810. ramdisk on r:)
  811.    pushscr r:\tmpscr.$$$ /o
  812.    foo %1 %2 %3 %4 %5 %6 %7 %8 %9
  813.    popscr r:\tmpscr.$$$
  814.    del r:\tmpscr.$$$ > nul
  815. The utilities pushscr.exe and popscr.exe are part of the
  816. /pc/ts/tsutld21.zip package (or whatever version number is the
  817. latest). If the foo program also changes the video mode, and doesn't
  818. change it back, you'll need reset.exe prior popscr.  It is available
  819. in /pc/ts/tsutil39.zip. Alternatively you can use the MsDos mode
  820. command to restore the correct video mode.
  821. --------------------------------------------------------------------
  822.  
  823. From ts@uwasa.fi Sun Dec 26 00:00:23 1993
  824. Subject: MsDos compress for .Z files, MsDos uude/encode, etc
  825.  
  826. 23. *****
  827.  Q: Where can I find compress for MsDos to handle .Z files?
  828.  Q2: Is there a tar for MsDos?
  829.  
  830.  A: Unix has compress, uncompress and zcat programs to pack or
  831. unpack files which are given the .Z extension. These files can also
  832. be handled under MsDos using for example /pc/unix/comp430d.zip,
  833. which is available from anonymous FTP sites like garbo.uwasa.fi,
  834. SimTel, etc.
  835.    There is one useful trick if you uncompress on MsDos such text
  836. files that have been made on Unix with compress. Unix and MsDos have
  837. different eolns (end of lines). You can extract a Unix compressed
  838. text file as follows
  839.       comp430d -d -c YourZFile | unix2pc > YourOutputFile
  840. where unix2pc.exe is taken from /pc/ts/tsfilt19.zip (or whatever is
  841. the current version number).
  842.    While we are at it let's look at two similar questions of MsDos
  843. counterparts for Unix file handling. Uuencoding and uudecoding is a
  844. common method to handle files so that they can be sent as ordinary
  845. ascii email. There are several utilities for uu(en/de)coding files
  846. on a PC. See our /pc/decode directory. One that I can recommend is
  847. uuexe525.zip (or whichever version is current), which has an option
  848. to use formats like the one employed in the comp.binaries.ibm.pc
  849. binary postings.
  850.    Yet another often queried counterpart for Unix is tar for MsDos.
  851. See our directory /pc/unix for tar extractor utilities such as
  852. tar4dos.zoo, extar10.zip (or whatever version number is current),
  853. ltarv3.zip, tar312us.zip or tstar311.zip. If you have a *.tar.Z
  854. file, you'll first have to uncompress it and then untar it. On MsDos
  855. this requires a bit of juggling with the file names, since MsDos can
  856. handle only one point (.) in a file name.
  857.    (Since I have been asked: On VAX/VMS the extension TAR-Z is often
  858. used, but unlike Unix tar.Z that is a local rather than a generic
  859. convention.)
  860. --------------------------------------------------------------------
  861.  
  862. From ts@uwasa.fi Sun Dec 26 00:00:24 1993
  863. Subject: Reporting shareware bugs
  864.  
  865. 24. *****
  866.  Q: I found a bug in a shareware or a PD program. How should I
  867. report it?
  868.  
  869.  A: This is not actually a Frequently Asked Question, but I would
  870. like to put forward some personal views on this. Starting with my
  871. own programs, all sensible feedback is welcome whether it is emailed
  872. or posted.
  873.    Some of the colleagues on the net may have a slightly different
  874. views on reporting the bugs publicly, and I respect also that view,
  875. even if I don't personally see anything basically wrong with it as
  876. long as the feedback is not malicious or outright incorrect.
  877.    The first thing to do when you note a bug (or a truly problematic
  878. feature), and want to report it, is to recheck your facts. Is it an
  879. error you have made, or a simple case of RTFM (you haven't read the
  880. documentation properly)? If the bug is still there, then by all
  881. means go ahead and report.  The second thing to do before reporting
  882. to a major shareware author is objectively asking yourself are you
  883. just trying to solicit extra support, or are you honestly reporting
  884. a bug for the author's benefit.
  885.    Let me tell you about my own method of giving feedback. When
  886. reporting bugs I have had very varying responses from shareware
  887. authors. Some are very responsive, some never answer. The method I
  888. use (if I feel I have something useful to report) is roughly the
  889. following. If I can find out the email address of the author I send
  890. an email report. If I cannot find the email address I leave things
  891. be (I'm frankly too busy to go through the extra trouble of ordinary
  892. paper mail). If I get a confirmation of the receipt (or have at
  893. sometime had useful exchanges with the author), then ok. If I don't
  894. get any reaction (or haven't had any previously), I let things lie,
  895. but if I ever have further feedback, I won't send it. Instead I send
  896. an enquiry telling that I have this bug report, and ask the author
  897. if s/he is interested about getting my bug report. If I still get no
  898. response, I won't bother send that author any feedback ever again.
  899.    Incidentally, I have compiled a list of the addresses of MsDos PD
  900. & SW authors reachable on or from InterNet. This list is available
  901. as garbo.uwasa.fi:/pc/pd2/author*.zip, where * = 23 when I revised
  902. this.
  903. --------------------------------------------------------------------
  904.